package com.yxw.live_vod_facade.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="VodProductClickVo", description="点播视频点击Vo")
public class VodProductClickVo implements Serializable {

    @ApiModelProperty(value="视频名称")
    private Long userId;

    @ApiModelProperty(value="视频名称")
    private String userName;

    @ApiModelProperty(value="产品ID")
    private Long productId;

    @ApiModelProperty(value="视频ID")
    private Long videoId;

    @ApiModelProperty(value="点击时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date clickTime;
}
